package com.barber.entity;

import org.apache.ibatis.type.Alias;

@Alias("Style")
public class Style {
    private  int id;//数据私有化 流水号
    private  float price ;//String 数据类型
    private  String name;//建表varc
    private  String remark;
    private  String begintime;
    private  String status;
//    private  String pic;
//
//    public String getPic() {
//        return pic;
//    }
//
//    public void setPic(String pic) {
//        this.pic = pic;
//    }

    public String getBegintime() {
        return begintime;
    }

    public void setBegintime(String begintime) {
        this.begintime = begintime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

//    public String getId() {
//        return id;
//    }
//
//    public void setId(String id) {
//        this.id = id;
//    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Style{" +
                "id=" + id +
                ", price=" + price +
                ", name='" + name + '\'' +
                ", remark='" + remark + '\'' +
                ", begintime='" + begintime + '\'' +
                ", status='" + status + '\'' +
//                ", pic='" + pic + '\'' +
                '}';
    }
//    @Override
//    public String toString() {
//        return "{" +
//                "\"id\":\""+id+"\""+
//                ",\"name\":\""+name+"\""+
//                ",\"price\":\""+price+"\""+
//                ",\"remark\":\""+remark+"\""+
//                ",\"begintime\":\""+begintime+"\""+
//                ",\"status\":\""+status+"\""+
//                "}";
//    }
}
